<?php
namespace Idiom\Model;

use Common\Model\WxpayModel;

class WxpayhistoryModel extends WxpayModel
{

   // public $appid = 'wx2faae9d47390a9e7';

    public $key = '2a7984203b6de9843b24b4ab0e642a2a';

    public $mch_id = '1502706221';

    public $notify_url = "http://test.beikg.cn";

    protected $tableName = 'idiom_wxpayhistory';

    protected $fields = array();
    protected $pk     = 'idiom_wxpayhistory_id';

    public function __construct($appid)
    {
        parent::__construct($appid, $this->mch_id, $this->notify_url, $this->key);
    }


}